<?php

namespace IDock\Insurance\ZYIC\Request;

use IDock\Insurance\ZYIC\Response\ElectricalSignResponse;
use IDock\Insurance\ZYIC\Response\PolicyPaymentResponse;
use IDock\Insurance\ZYIC\ZYICEnums;
use IDock\Insurance\ZYIC\Request\AllZYICRequest;
use IDock\Insurance\ZYIC\Response\SaveOrderResponse;
use IDock\Visitor\PolicyPaymentVisitor;
use IDock\Visitor\Premium\PremiumInquiryVisitor;
use IDock\Visitor\VehicleActualValueVisitor;

class ElectricalSignRequest extends AllZYICRequest
{
    public $route = 'channelInterface/V27';

    protected $response = ElectricalSignResponse::class;

    protected $urlTip = '电子签名';

    /*** @var  PolicyPaymentVisitor $visitor */
    protected $visitor;

    public function generate(): array
    {
        $arr = [
            'proposalNo' => $this->visitor->biInquiryNo,
            'proposalNoCI' => $this->visitor->ciInquiryNo,
        ];
        return $arr;
    }

}
